package cn.tedu.property2022.service;

import cn.tedu.property2022.pojo.dto.AnnouncementsAddNewDTO;
import cn.tedu.property2022.pojo.vo.AnnouncementsLsitVO;
import cn.tedu.property2022.pojo.vo.AnnouncementsVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IAnnouncementsService {

    void  addNew(AnnouncementsAddNewDTO announcementsAddNewDTO);

     List<AnnouncementsVO> Annoucements(String title);

    List<AnnouncementsLsitVO>list();

    List<AnnouncementsVO>  getMessage(Long id);
}
